%view(355,20)

A0=355;
B0=20;
axis off;
view([A0,B0]);
xyz=axis
hold on;axis off
plot3([100 100000],[100 100],[100 100],'-g','LineWidth',1.25)
plot3([100 100],[100 100000],[100 100],'-g','LineWidth',1.25)
plot3([100 100],[100 100],[100 100000],'-g','LineWidth',1.25)
hold off
%plot3([xyz(1:2)],[0 0],[0 0],'-r');% x
%plot3([0 0],[xyz(3:4)],[0 0],'-r');% y
%plot3([0 0],[0 0],[xyz(5:6)],'-r');% z
i=0;
for j=0:1:360
    i=i+1;
    view([A0+j,B0]);
    %title(num2str([A0+j,B0]))
    axis(xyz)
    axis vis3d;
    getframe;
end